package com.dragon.design.pattern.structural.delegate;

import com.dragon.design.pattern.structural.delegate.impl.MallardDuck;

/**
 * 测试类
 *
 * @author dragon
 * @since 2019/11/14
 */
public class MinDuckTest {

    public static void main(String[] args) {
        AbstractDuck mallard = new MallardDuck();
        mallard.doFly();
        mallard.doQuack();
    }
}
